
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Luis
 */
public class About {

    Frame f=new Frame();

    public void ventanaAbout(){

        f.setLayout(null);

        JLabel img1=new JLabel();
        img1.setIcon(new ImageIcon("recursos/imagenabo.jpg"));
        img1.setBounds(20,50,30,30);
        f.add(img1);

        Label l=new Label("Ultra DVD Creator 2.9.0.412");
        l.setBounds(60,50,123,18);
        f.add(l);

        JButton ok=new JButton("ok");
        ok.setBounds(210, 50, 50, 20);
        f.add(ok);
        
        ok.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent e) {
                 UltraDvd ul=new UltraDvd();
                  ul.principal();
                  f.hide();
            }
        });

        Label l2=new Label("Visit Our Home Page");
        l2.setBounds(70,80,120,18);
        l2.setForeground(Color.blue);
        f.add(l2);

        Label l3=new Label("online Orders");
        l3.setForeground(Color.blue);
        l3.setBounds(70,100,120,18);
        f.add(l3);

        Label l4=new Label("Visit Our Home Page");
        l4.setForeground(Color.blue);
        l4.setBounds(70,120,120,18);
        f.add(l4);

        Label l5=new Label("Discopy is lised to:YPOEGOS");

        l5.setBounds(80,150,170,18);
        f.add(l5);

        Label l6=new Label("Copy right(C) 2004 Aone Software");

        l6.setBounds(80,170,170,18);
        f.add(l6);


        f.setVisible(true);
        f.setSize(300, 200);
        f.setLocation(400, 300);
        f.setResizable(false);
    }

    public static void main(String[] args) {
        About a=new About();
        a.ventanaAbout();
    }
}
